package com.ztgf.pay.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.pay.models.dto.PayOrderDTO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 支付订单映射
 *
 * @author mxli
 * @Date 2020-07-30 12:12:21
 */
public interface PayOrderMapper extends BaseMapper<PayOrderDTO> {

    //获取支付金额
    BigDecimal getPayMoney(Long userId, Date beginDate);
    //获取退款金额
    BigDecimal getRefundPayMoney(Long userId, Date beginDate);

}
